<?php

/**
* @copyright   (C) 2010 iJoomla, Inc. - All rights reserved.
* @license  GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html) 
* @author  iJoomla.com webmaster@ijoomla.com
* @url   http://www.ijoomla.com/licensing/
* the PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript  
* are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0 
* More info at http://www.ijoomla.com/licensing/
*/

	defined('_JEXEC') or die('Restricted Access');
	
	$published = "1";
	
	if($this->values != ""){
		$published = $this->values["0"]["published"];
	}
?>

<table class="adminform" style="width:auto;">
	<tr>
		<td align="left"><b><?php echo JText::_("COM_SURVEYS_PUBLISHED"); ?> :</b></td>
		<td align="left">
			<table>
				<tr>
					<td>
						<table>
							<tr>
								<td>
									<input type="radio" name="published" value="1" <?php if($published == 1){ echo 'checked' ;} ?>/>
								</td>
								<td>	
									<?php echo JText::_("JYES"); ?>
								</td>
							</tr>
						</table>			
					</td>
					<td>
						<table>
							<tr>
								<td>
									<input type="radio" name="published" value="0" <?php if($published == 0){ echo 'checked' ;} ?>/>
								</td>
								<td>	
									<?php echo JText::_("JNO"); ?>
								</td>
							</tr>
						</table>			
					</td>
				</tr>
			</table>						
		</td>		
	</tr>		
</table>